package com.dixunzh.dianlailai.core.Actions;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 	订单管理
 * @author xmiao
 *
 */
@Controller
@RequestMapping("/dexonzh-admin/order")
public class OrderAction {

	/**
	 * 	订单列表页面
	 * @return
	 */
	@GetMapping("/index")
	public ModelAndView index() {
		ModelAndView mv = new ModelAndView();
		mv.setViewName("/admin/index");
		return mv;
	}
	/**
	 *	 添加或修改订单列表页面
	 * @return
	 */
	@GetMapping("/addandedit")
	public ModelAndView addAndEdit() {
		ModelAndView mv = new ModelAndView();
		mv.setViewName("/admin/index");
		return mv;
	}
}
